$(function() {
    
    $('a.galeria').colorbox({transition:'elastic', opacity: 0.9, 
        current:'Imagem {current} de {total}', rel:'galeria', 
        maxWidth: '90%', maxHeight: '90%'});
    
});